<template>
  <view>
    <!-- <my-login v-if="!getToken"></my-login>
    <my-userinfo v-else></my-userinfo> -->
    <my-userinfo></my-userinfo>
  </view>
</template>

<script>
// 导入混入
import tabBar_badge from "@/mixins/tabBar-badge";
// 导入vuex辅助函数
import { mapGetters } from "vuex";

export default {
  mixins: [tabBar_badge],
  computed: {
    ...mapGetters("user", ["getToken"]),
  },
};
</script>

<style></style>
